package com.example.micrauth.service;

import com.example.micrauth.domain.dto.LoginDTO;
import com.example.micrauth.domain.vo.RespResult;

import java.util.Map;

/**
 * @description: 登陆
 * @author: uu
 * @date: 2024/2/28 19:00
 * @version: 1.0
 */
public interface AuthenticationService {

    /**
     * @description: 登陆接口
     * @author: uu
     * @date: 2024/2/28 19:03
     * @version: 1.0
     */
    Map<String, Object> login(LoginDTO loginDTO, String token);

    RespResult logout(String token);
}
